package com.dmxh.service;

import com.dmxh.params.QueryParams;
import com.dmxh.result.PageList;
import com.dmxh.vo.ContentVo;

import java.util.Map;

public interface ContentService {
    Map<String, Object> queryAllContent();

    PageList<ContentVo> queryPage(QueryParams queryParams);

    void addInfo(ContentVo contentVo);

    void updateInfo(ContentVo contentVo);

    void deleteById(long id);

    void deleteBatch(Integer[] ids);
}
